package com.ef.springboot.service;

        import com.ef.springboot.mapper.UserMapper;
        import com.ef.springboot.model.User;
        import org.springframework.stereotype.Service;

        import javax.annotation.Resource;

@Service
public class UserServiceImpl  implements UserService{


    @Resource
    UserMapper userMapper;

    @Override
    public User login(String name) {
        return userMapper.login(name);
    }
}